 |
API Documentation
|
|
91 void setId (
unsigned int value) ;
virtual void exportClassToTree(nkExport::Node *rootNode) override
bool getPackedBufferReady() const
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
void setId(unsigned int value)
VertexComposition::VertexComponent * getCurrentVertexArray() const
virtual int getVertexBufferCount() const
A bounding box. Often used to encompass object's bounds in the world.
Definition: BoundingBox.h:14
void setAutoComputeBounds(bool value)
virtual void importClassFromTree(nkExport::Node *rootNode) override
BoundingBox * getBounds() const
VertexComposition & getCurrentVertexComposition()
float * getNewVertexPackedArray(unsigned int requestedPointNumber)
VertexComposition::VertexComponent * getNewVertexArray(unsigned int requestedPointNumber)
virtual void prepareForGeometryStream()=0
unsigned int * getNewIndexArray(unsigned int requestedIndexNumber)
unsigned int getId() const
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
virtual unsigned int getVertexCount() const
Holds information about the composition of a mesh : the data it offers.
Definition: VertexComposition.h:12
void setPackedBufferReady(bool value)
unsigned int * getCurrentIndexArray() const
float * getCurrentVertexPackedArray() const
void setVertexCount(int value)
virtual void freeShadowBuffers(bool cleanUnpacked, bool cleanPacked)
Base class for a resource in the component.
Definition: Resource.h:12
void setIndexCount(int value)
virtual unsigned int getIndexCount() const
void setVertexComposition(const VertexComposition &compo)
bool getAutoComputeBounds() const
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:15
bool fillPackedFromUnpacked()